<ion-view hide-back-button="true" hide-nav-bar="true" ng-controller="LoginController">
  <ion-content>
    <div class="singletitle">
      <div class="h1 title">登录</div>
    </div>

    <div class="content has-header">
      <form name="loginform" novalidate="novalidate" ng-submit="login_submit()">
        <div class="list list-inset">
          <label class="item item-icon-left">
            <i class="icon ion-person"></i>
            <input id="name" type="text" placeholder="用户名" ng-model="logindata.username">
          </label>
          <label class="item item-icon-left">
            <i class="icon ion-key"></i>
            <input type="password" placeholder="密码" ng-model="logindata.password">
          </label>
        </div>
        <div class="padding">
          <button class="button button-block button-positive" type="submit">登录</button>
        </div>
      </form>
    </div>
  </ion-content>
</ion-view>


